<?php
class Pageley_I18n_Locale {
	public static $DE;
	public static $FR;
    public static $EN;
	public static $NL;
	
	private $code;
	
	public function __construct($code) {
		$this->code = $code;	
	}
	
	public function getCode() {
	    return $this->code;
	}
	
	public function __toString() {
		return $this->code;
	}

}

Pageley_I18n_Locale::$DE = new Pageley_I18n_Locale("de");
Pageley_I18n_Locale::$FR = new Pageley_I18n_Locale("fr");
Pageley_I18n_Locale::$EN = new Pageley_I18n_Locale("en");
Pageley_I18n_Locale::$NL = new Pageley_I18n_Locale("nl");